package com.teacher.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.teacher.pojo.dto.comment.CommentDto;
import com.teacher.pojo.entity.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.teacher.pojo.vo.comment.CommentVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jiangzhuohang
 * @since 2024-03-14
 */
public interface CommentMapper extends BaseMapper<Comment> {

    IPage<CommentVo> getCommentPageData(Page page, @Param("dto") CommentDto pageVo);
}
